package org.huang.order.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ToString
public class Order implements Serializable{
    private Integer id;

    private Integer userId;

    private String realName;

    private String phone;

    private String orderNo;

    private Date createTime;

    private BigDecimal price;

    private String goodsName;

    private Integer count;
    /**
     *  0-创建中，1-下单成功 2-下单失败
     */
    private String state;

    private BigDecimal allPrice;

}